package com.beta.cust.bind.webapi;

import com.beta.cat.application.DubboBaseApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient //开启服务注册与发现功能
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class WebApiApplication extends DubboBaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApiApplication.class, args);
    }
}